﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Bgm : Person
    {
        private string _title;
        private double _wageno;

        public string Title { get; set; }
        public double Wageno { get; set; }

        public Bgm(int id, string name, string sex, double cardid, double tel, string title, double wageno)
        {
            this.Id = id;
            this.Name = name;
            this.Sex = sex;
            this.Cardid = cardid;
            this.Tel = tel;
            this.Title = title;
            this.Wageno = wageno;
        }
        public Bgm()
        { }
        public void DaYinLao()
        {
            Console.WriteLine("我的id是{0},我的名字是{1}，我的性别是{2}，我的身份证号是{3}" +
                "，我的联系方式是{4}，我的职称是{5},我的工资号是{6}", this.Id, this.Name, this.Sex,
                this.Cardid, this.Tel, this.Title, this.Wageno
                );
        }
    }
}
